<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" type="text/css" href="res/layui/css/layui.css">
<link rel="stylesheet" type="text/css" href="res/css/main.css">
<link rel="stylesheet" href="res/css/index.css">
<title>竞赛规则</title>

<style>
	.all{
		width:100%;
		margin-top:10px;
		height:30px;
		background-color:#6699ff;
	}
	.lower{
		width:100%;
		background-color:#f2f2f2;
	}
	.cardbody{
		height:30px;
		line-height:30px;
		margin-top:20px;
		border-bottom:1px dotted #bfbfbf;
	}
	.title{
		text-align:center;
		font-size:24px;
		background-color:#f0f0f5;
	}
	.left{
		float:left;
		text-align:center;
	}
	.right{
		float:right;
		color:#ccd9ff;
	}
</style>
</head>
<body>
		
	<!-- 导入导航栏 -->
	<div class="layui-container" style="width:100%">
	  	<%@ include file="header.jsp" %> 
  	</div>
  	<!-- 中间部分 -->
  	<div class="layui-container all"></div>
	  <div class="layui-container lower">
		    <div class="layui-row layui-col-space12">
				<div class="layui-card layui-col-space8" style="margin:0 auto;width:70%;">
					<div class="title">校运动会比赛规则</div>
					<c:forEach items="${rulelist }" var="rulelist" begin="0" end="9" step="1">
			   		<div class="layui-card-body cardbody">
						 <div class="left"><a href="rulescontent.action?ruleid=${rulelist.ruleid }">${rulelist.rulename }</a></div>
			   		     <div class="right">发布时间：[${rulelist.creattime }]</div>
					</div>
					</c:forEach>
					<!-- <div class="layui-card-body cardbody">
						 <div class="left"><a href="rulescontent.jsp">管理规定总则</a></div>
			   		     <div class="right">2019-05-31 13:55</div>
					</div>
					<div class="layui-card-body cardbody">
						 <div class="left"><a href="rulescontent.jsp">管理规定总则</a></div>
			   		     <div class="right">2019-05-31 13:55</div>
					</div>
					<div class="layui-card-body cardbody">
						 <div class="left"><a href="rulescontent.jsp">管理规定总则</a></div>
			   		     <div class="right">2019-05-31 13:55</div>
					</div> -->
			   	</div>
			</div>
		</div>
  	
  	<!-- footer部分 -->
	<div class="layui-container" style="width:100%;margin-top:80px;">
	  	<%@ include file="footer.jsp" %> 
  	</div>
<script src="res/layui/layui.js"></script>
  	
</body>
</html>